package robocup.component.speechacts.coachlanguage;

public class Bto {

  private UnumSet  unumSet  = null;

  private Region   region   = null;

  private BmoveSet bmoveSet = null;

  public BmoveSet getBmoveSet() {

    return this.bmoveSet;
  }

  public void setBmoveSet(final BmoveSet bmoveSet) {

    this.bmoveSet = bmoveSet;
  }

  public Region getRegion() {

    return this.region;
  }

  public void setRegion(final Region region) {

    this.region = region;
  }

  public UnumSet getUnumSet() {

    return this.unumSet;
  }

  public void setUnumSet(final UnumSet unumSet) {

    this.unumSet = unumSet;
  }

  @Override
  public String toString() {

    if (this.unumSet == null) {
      return this.region.toString() + " " + this.bmoveSet.toString();
    }
    else {
      return this.unumSet.toString();
    }
  }

}
